<script lang="ts" setup>
import { getMessageAPI } from '@/apis/common'
import { userStore } from '@/stores'

const ErrorToken = async () => {
  const store = userStore()
  store.setToken('error token')
  const res = await getMessageAPI()
  console.log(res)
}
</script>

<template>
  <auth-page>
    <view class="wiki">
      <button @click="ErrorToken">测试错误token</button>
      <button>按钮</button>

      <custom-section title="我的订单" :show-arrow="false">
        <template #right>
          <text>全部订单</text>
        </template>
      </custom-section>
    </view>
  </auth-page>
</template>

<style lang="scss"></style>
